package com.byinsight.service;

import java.util.Date;
import java.util.List;

import com.byinsight.service.dto.Expense;
import com.byinsight.service.dto.QueryDefinition;

import eg.backend.domain.fly.AggregatedRecord;

public interface ExpenseService {
	List<Expense> findDetail(QueryDefinition queryDefinition);
	
	List<Expense> findDaily(Date date);
	
	List<AggregatedRecord> findAggregated(QueryDefinition queryDefinition);
	
	List<eg.backend.domain.Expense> update(List<eg.backend.domain.Expense> toUpdate, List<eg.backend.domain.Expense> toDelete);
}
